<section class="middle-box text-center loginscreen fadeInDown">
    <div>
        <h1 class="logo-name">
        	<img ng-src="{{logo3}}" />
        </h1>
    </div>
    <h3>小艾爱跑 | 比赛助手</h3>
    <p>修改密码</p>
    <form class="m-t" role="form" name="modifypassForm" ng-submit="modifypass.submitForm(modifypassForm.$valid)" novalidate>
    	<div class="form-group">
    		<input type="password" name="oldpass" class="form-control" placeholder="请输入旧密码" ng-model="modifypass.user.oldpass" ng-minlength="8" ng-maxlength="16" required>
            <div class="m-t-xs" ng-show="!modifypassForm.oldpass.$pristine" ng-messages="modifypassForm.oldpass.$error" ng-messages-multiple>
                <div ng-messages-include="{{modifypass.passwordHtml}}"></div>
            </div>
    	</div>
    	<div class="form-group">
    		<input type="password" name="newpass" class="form-control" placeholder="请输入新密码" ng-model="modifypass.user.newpass" ng-minlength="8" ng-maxlength="16" required>
            <div class="m-t-xs" ng-show="!modifypassForm.newpass.$pristine" ng-messages="modifypassForm.newpass.$error" ng-messages-multiple>
                <div ng-messages-include="{{modifypass.passwordHtml}}"></div>
            </div>
    	</div>
    	<div class="form-group">
    		<input type="password" name="confirmpass" class="form-control" placeholder="确认新密码" ng-model="modifypass.user.confirmpass" ng-minlength="8" ng-maxlength="16" required>
            <div class="m-t-xs" ng-show="!modifypassForm.confirmpass.$pristine" ng-messages="modifypassForm.confirmpass.$error" ng-messages-multiple>
                <div ng-messages-include="{{modifypass.passwordHtml}}"></div>
            </div>
    		<p class="help-block text-danger text-center" ng-if="modifypassForm.confirmpass.$dirty&&modifypass.valid">两次输入的密码不一致</p>
    	</div>
        <button type="submit" class="btn btn-primary block full-width m-b" ng-disabled="hide">确定</button>
        <div class="form-group">
            <div class="text-left">
                <a href="javascript:history.go(-1);">&lt;&lt;返回</a>
            </div>
        </div>
    </form>
    <p class="m-t">
    	<small>沪ICP-13034568号-1©2015 上海诺斐信息技术有限公司 All rights reserved.</small>
    </p>
</section>